LogToNum

Syntax: @LogToNum AttName, NumName

The LogToNum command will return the numeric location of the current value of the given list attribute AttName, and put its location number into the given numeric attribute NumName. The numeric location is the vertical position number of where the value appears for the list attribute on the Instance Properties editor.

Example

where the Instance Properties editor shows the Grade attribute as:

Grade

Director

SenMgr

JunMgr

and the current value of Grade is 'JunMgr':

@LogToNum Grade, Num

would assign the value 3 into the numeric attribute Num.

See also the reverse NumToLog command.